<?php

namespace App\Http\Controllers\api;

use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Response;

class BaseController extends Controller {
	
	public function respOk($data = null) {
		
		return Response::json([
			'code' => '1',
			'msg' => '运行成功',
			'data' => $data,
		]);
	}
	
}
